<div>
<table cellpadding="0" cellspacing="0" border="0" id="table" class="uiTable">
<tr>
	
    <th><h3><?php echo $paginator->sort('website_name');?></h3></th>
	<th><h3><?php echo $paginator->sort('domain');?></h3></th>
	
</tr>
<?php
$i = 0;
foreach ($websites as $website):
	$class = null;
	if ($i++ % 2 == 0) {
		$class = ' class="altrow"';
	}
?>
	<tr<?php echo $class;?>>
		<td>
			<?php echo $website['Website']['website_name']; ?>
		</td>
		<td>
			<?php echo $website['Website']['domain']; ?>
		</td>
	</tr>
<?php endforeach; ?>
</table>
</div>
<?php echo $this->element('paging') ?>